package com.gimi.cloud.bbp.manage.consumer.feign.page;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.gimi.cloud.bbp.common.utils.reqhead.Response;
import com.gimi.cloud.bbp.dto.page.PageColumnDTO;

import feign.Headers;

@FeignClient(name = "bbp-manage-service")
public interface PageColumnFeignService {
	
	@Headers({"Content-Type: application/json","Accept: application/json"})
	@RequestMapping(value = "/pc/getPageColumnById", method = RequestMethod.POST)
	Response getPageColumnById(@RequestBody PageColumnDTO dto);
	
	@Headers({"Content-Type: application/json","Accept: application/json"})
	@RequestMapping(value = "/pc/addPageColumnByTemplateId", method = RequestMethod.POST)
	Response addPageColumnByTemplateId(@RequestBody PageColumnDTO dto);
	
	@Headers({"Content-Type: application/json","Accept: application/json"})
	@RequestMapping(value = "/pc/delPageColumnAllById", method = RequestMethod.POST)
	Response delPageColumnAllById(@RequestBody PageColumnDTO dto);
	
	@Headers({"Content-Type: application/json","Accept: application/json"})
	@RequestMapping(value = "/pc/savePageColumn", method = RequestMethod.POST)
	Response savePageColumn(@RequestBody PageColumnDTO dto);
	

}
